#!/usr/bin/python2.3

import sys

def stdprintf(string=""):
	sys.stdout.write(string)
	sys.stdout.write('\n\n')
	sys.stdout.flush()

header = 'Content-Type: text/html'

testsets = '''
        <input type = radio  name = 'testset' value = '172.16.53.1'>pem.bcom<br>
	<input type = radio  name = 'testset' value = '172.16.55.1'>pem.dcom<br>
	<input type = radio  name = 'testset' value = '172.16.57.1'>pem.fcom<br>
	 <hr><br>
	 '''
actions = '''<input type=radio name='actions' value='backup'>Backup</option>
	     <input type=radio name='actions' value='restore'>Restore</option>
	     <hr><br>
	     '''

stdprintf(header)
stdprintf("<html><head><title>QA TOOLS</title></head><body>")
stdprintf("<form action = 'getowner.py' method = get>")
stdprintf(testsets)
stdprintf(actions)
stdprintf("<input type='submit' value='>>Next>>'>")
stdprintf("</body></html>")

